﻿using ServiceStack.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPY.LeHealth.DTO
{
    /// <summary>
    /// 购物车
    /// </summary>
    public class Cart:BaseDTO
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 套餐Id
        /// </summary>
        [References(typeof(ComboDTO))]
        public int ComboId { get; set; }

        [Reference]
        public ComboDTO Combo { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
    }
}
